﻿using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Collections;
using Shpm.System.Db;
using Shpm.App.Commons.Db.Beans.Master;
using Shpm.App.Input.Bean;

namespace Shpm.App.Input.Dao
{
    public class PersonOvertimeDao : ShpmBaseDao
    {
        public const string FIND = "PersonOvertime.GetOvertime";
        public const string LIST_OVERTIME = "PersonOvertime.LstOvertime";
        public const string INSERT = "PersonOvertime.Insert";
        public const string DELETE = "PersonOvertime.Delete";
        public const string UPDATE = "PersonOvertime.Update";

        public PersonOvertimeDao()
        {
        }
        

        /*
        *名称： FIND
        *功能： 取得职位信息对象。
        *参数： paramBean - 检索参数
        *返回：  
        *说明： 
        */
        public PersonOvertimeBean Find(PersonOvertimeBean paramBean)
        {
            return (PersonOvertimeBean)base.QueryForObject(FIND, paramBean);
        }

        public IList LstOvertime(PersonOvertimeBean paramBean)
        {
            return base.QueryForList(LIST_OVERTIME, paramBean);
        }



        public object Insert(PersonOvertimeBean bean)
        {

            return base.Insert(INSERT, bean);
        }

        public int Update(PersonOvertimeBean bean)
        {
            return base.Update(UPDATE, bean);
        }

        public int Delete(PersonOvertimeBean bean)
        {
            return base.Delete(DELETE, bean);
        }
        
    }
}